package cn.itsource.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Teacher {
    // 编号
    private Long id;
    // 姓名
    @Excel(name = "姓名", width = 20)
    private String name;
    // 年龄
    @Excel(name = "年龄", width = 20)
    private Integer age;
    // 性别
    @Excel(name = "性别",replace = {"男_true","女_false"},width = 20)
    private Boolean sex;
    // 职位
    @Excel(name = "职位", width = 20)
    private String position;
    // 学科
    @Excel(name = "学科", width = 20)
    private String subject;
}
